function square(number) {
    return number * number;
}

// function change(v) {
//     v = 10;
// }

let change = function (v) {
    v = 10;
}




// let sq = square(5);
// console.log(sq);

let num = 5;
change(num);
console.log(num);

let obj = { "name": "张三", "age": 20 };

console.log(obj);

changeObj(obj);

console.log(obj);


function changeObj(obj) {
    obj.name = "李四";
    // obj = { "name": "李四" };
}
